@banner: banner;
.@{banner} {
  // 如果在第一屏且导航位置为 relative, 一屏为 height: calc(~"100vh - 64px");
  width: 100%;
  height: 100vh;
  position: relative;
  text-align: center;
  border-color: #666;
  background-image: url(../../../assets/banner.jpg);
  background-size: cover;
  background-attachment: fixed;
  background-position: center;
  background-color: #333;
  & &-text-wrapper {
    display: inline-block;
    position: absolute;
    top: 0;
    bottom: 0;
    margin: auto;
    left: 0;
    right: 0;
    color: @template-text-color-light;
    max-width: 845px;
    height: 500px;
    width: 80%;
    font-size: 20px;
    line-height: 28px;
    font-weight: 400;
    >.queue-anim-leaving {
      position: relative !important;
    }
  }
  & &-slogan {
    font-size: 68px;
    line-height: 80px;
    text-indent: 2px;
    font-weight: 600;
    // margin: 26px auto 38px;
    margin: 100px auto 60px;
    overflow: hidden;
  }
  & &-name {
    display: block;
    font-size: 50px;
    line-height: 53px;
    overflow: hidden;
    opacity: 0.8;
    letter-spacing: 5px;
    color: #fff;
  }
  & &-button {
    margin-top: 72px;
    background: linear-gradient(to right, rgba(0, 160, 233, 1) 0%, rgba(0, 160, 233, 236) 100%);
    // box-shadow: 0 8px 16px #0a52ab;
    box-shadow: 0 2px 16px #0a52ab;
    border: none;
    transition: background .45s @ease-out;
    width: 350px;
    line-height: 55px;
    height: 55px;
    border-radius: 27px;
    color: #fff;
    font-size: 26px;
    letter-spacing: 3px;
    &:hover {
      animation: scaleout 1.3s infinite ease-in-out;
    }
  }
}

@media screen and (max-width: 767px) {
  .@{banner} {
    background-attachment: inherit;
    & &-text-wrapper {
      width: 90%;
      height: 50%;
    }
    & &-slogan {
      font-size: 24px;
      line-height: 1.5;
      margin: 12px 0;
    }
    & &-name {
      font-size: 14px;
    }
    & &-button {
      width: 250px;
      line-height: 35px;
      height: 35px;
      margin-top: 100px;
      font-size: 18px;
    }
  }
}

.model-wraper {
  .title {
    padding: 10px 15px;
    text-align: center;
    font-size: 18px;
  }
  .captcha {
    display: flex;
    button {
      margin-left: 10px;
      padding: 5px 16px;
      line-height: 1;
      border-radius: 6px;
      color: @template-bg-color;
      border: 1px solid #ccc;
      background-color: #fff;
      outline: none;
      white-space: nowrap;
    }
  }
  .button-wraper {
    display: flex;
    justify-content: center;
    margin-bottom: 16px;
    .button {
      padding: 10px 90px;
      border-radius: 25px;
      line-height: 0;
      color: #fff;
      border: 1px solid @template-bg-color;
      background-color: @template-bg-color;
      + .button {
        margin-left: 16px;
        color: @template-bg-color;
        background-color: transparent;
      }
    }
  }
}

